package com.jindy.module.oacopyconfig.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 抄送配置对象 sy_oa_copy_config
 * 
 * @author jindy
 * @date 2023-05-11
 */
public class SyOaCopyConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 订单类型 */
    @Excel(name = "订单类型")
    private String orderType;

    /** 抄送人id */
    @Excel(name = "抄送人id")
    private String copyUserId;

    /** 抄送人 */
    @Excel(name = "抄送人")
    private String copyUserName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }
    public void setCopyUserId(String copyUserId) 
    {
        this.copyUserId = copyUserId;
    }

    public String getCopyUserId() 
    {
        return copyUserId;
    }
    public void setCopyUserName(String copyUserName) 
    {
        this.copyUserName = copyUserName;
    }

    public String getCopyUserName() 
    {
        return copyUserName;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("number", getNumber())
            .append("orderType", getOrderType())
            .append("copyUserId", getCopyUserId())
            .append("copyUserName", getCopyUserName())
            .append("applyTime", getApplyTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
